package com.ls.aop.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
@Service
public class LogService implements Loggable{
	private Logger logger = LoggerFactory.getLogger(this.getClass());
	@Override
	public void log() {
		
		logger.info(" In Logservice log methed ");
		
	}
	@Override
	public void logOne(String a) {
		logger.info(" In Logservice logOne methed ");
	}
	@Override
	public void logTwo(String a, Long b) {
		logger.info(" In Logservice logTwo methed ");
	}
	@Override
	public String logRet() {
		 return "log Result";
	}
	
	@Override
	public String logException() {
		logger.info("prepare throw execution");
		throw new RuntimeException(" log excepiton");
	}

	
}
